package RayTracing;

public class Lights {

	
	//########################## Global Variables ###################################
	private double[] position = new double[3];
	private double[] lRGB = new double[3];
	private double SpecularIntensity;

	//########################## Constructors ###################################
	public Lights(){
		if (RayTracer.SHOW_LOG){ System.out.println("In Light Empty Constructor");}
		
	}
	
	
	public  Lights(String[] args){
		if (RayTracer.SHOW_LOG){ System.out.println("In Light Constructor");}
		
		position [0] = Double.parseDouble(args[0]);
		position[1] = Double.parseDouble(args[1]);
		position[2] = Double.parseDouble(args[2]);
		
		lRGB[0] = Double.parseDouble(args[3]);
		lRGB[1] = Double.parseDouble(args[4]);
		lRGB[2] = Double.parseDouble(args[5]);
		
		SpecularIntensity =  Double.parseDouble(args[6]);
		
	}
	
	//########################## Getters and Setters ###################################
	public double[] getPosition() {
		return position;
	}


	public void setPosition(double[] position) {
		this.position = position;
	}


	public double[] getlRGB() {
		return lRGB;
	}


	public void setlRGB(double[] lRGB) {
		this.lRGB = lRGB;
	}


	public double getSpecularIntensity() {
		return SpecularIntensity;
	}


	public void setSpecularIntensity(double specularIntensity) {
		SpecularIntensity = specularIntensity;
	}




}
